package utils;

public class CharsetUtil {

    public static String getCharsetByOS() {
        return System.getProperty("os.name").contains("Windows") ? "GBK" : "UTF-8";
    }
}
